package unit4.task4_2;

import java.util.Date;

public class HireUser1 extends Customer1{
    private Date recordDate;
    private  String hirePersonNo;
    private int userID;
    public String userName;
    private char sex;
    protected String phone;
    private String homePhone;
    private String email;
    private String qq;
    private String cardID;
    private String address;

    HireUser1(){
        super();
        System.out.println("这是求租客户类构造方法！");
    }
    public HireUser1(int userID, String userName, char sex, String phone,
                     String honePhone, String email, String qq, String cardID,
                     String address, String hirePersonNo, Date recordDate){
        super(userID,userName,sex,phone,honePhone,email,qq,cardID,address);
        this.hirePersonNo=hirePersonNo;
        this.recordDate=recordDate;
        System.out.println("这是求租客户类构造方法！");
    }
    public String getHirePersonNo() {
        return hirePersonNo;
    }
    public void setHirePersonNo(String hirePersonNo) {
        this.hirePersonNo = hirePersonNo;
    }
    public Date getRecordDate() {
        return recordDate;
    }
    public void setRecordDate(Date recordDate){
        this.recordDate = recordDate;
    }
    public void showUserName(){
        super.showUserName();
        System.out.println("这是求租客户类显示用户的方法");
    }
}
